package com.syg.transaction;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.EnableAspectJAutoProxy;

/**
 * 一、什么是事务的传播？
 *   	简单的理解就是多个事务方法相互调用时,事务如何在这些方法间传播。
 *
 *   注意：mysql数据库不支持事务的嵌套(5.7版本：SQL Statements->Transactional and Locking Statements->Statements That Cause an Implicit Commit)
 *   Transactions cannot be nested. This is a consequence of the implicit commit performed for any current transaction when you issue a START TRANSACTION statement or one of its synonyms.
 * @author syg
 */
@SpringBootApplication
@EnableAspectJAutoProxy(exposeProxy=true)
public class TransactionBoot {
    public static void main(String[] args) {
        SpringApplication.run(TransactionBoot.class);
    }
}
